Readme for "The Climate Risk Premium" (Lemoine, JAERE, 2021)

This zip file contains the Matlab code, as well as a Fortran90 file whose output is hard-coded into sub_damagenodes_*.m.

main_climaterisk.m is the file that a user should start from.  
By choosing options at the top, the user can replicate any results from the paper.
Code at the bottom reproduces panels in Table 1.
Running this code requires the compecon toolbox (https://pfackler.wordpress.ncsu.edu/compecon/154-2/).  See Miranda and Fackler (2002).

All other files are called in the course of running main_climaterisk.m.  
The only exception is plotpaths_fitdamages.m, which reproduces Figure 2 and calibrates the damage distribution.

The online appendix to the paper details the calibration and numerical implementation.